<template>
  <div class="pc-display">

  </div>
</template>

<script>
export default {
  data() {
    return {
      currentImage: ''
    }
  },
  sockets: {
    connect() {
      console.log('WebSocket 已连接')
    },
    disconnect() {
      console.log('WebSocket 断开连接')
    },
    imageUploaded(url) {
      this.currentImage = url
    }
  }
}
</script>

<style>
.pc-display {
  width: 100%;
  max-height: 600px;
}
</style>
